package system

import (
	"context"
	"gf_blog_admin/internal/service"

	"gf_blog_admin/api/system/v1"
)

func (c *ControllerV1) UploadCallback(ctx context.Context, req *v1.UploadCallbackReq) (res *v1.UploadCallbackRes, err error) {
	res = &v1.UploadCallbackRes{}
	err = service.SysUpload().UploadCallback(ctx, &req.UploadCallbackInput)
	return
}
